package com.example.demo.mapper;

import com.example.demo.domain.entity.VojProblemLanguage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo.dto.VojProblemLanguageDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 00774904
* @description 针对表【voj_problem_language(题目-语言-时间内存限制)】的数据库操作Mapper
* @createDate 2023-11-24 16:30:05
* @Entity com.example.demo.domain.entity.VojProblemLanguageParam
*/
public interface VojProblemLanguageMapper extends BaseMapper<VojProblemLanguage> {

    /**
     * 根据problemId获取语言-时间内存限制
     * @param problemId
     * @return
     */
    List<VojProblemLanguageDto> getLanguageByProblemId(@Param("problemId") long problemId);
}




